#for in 遍历
list1 = ['蔺相如','嘎嘎','哥哥','霍霍']

for i in list1:
	print(i)		#循环单独输出每个值

print('==============',"\r\n")
# while循环遍历
i = 0 
while i<len(list1):
	print(list1[i])
	i+=1
	
print('==============',"\r\n")


#二级列表的遍历
lists = [
			['汤唯','D'],
			['林志玲','B']
		]


for one,tow in lists:
	print(one)
	print(tow)
'''
	汤唯
	D
	林志玲
	B
'''


#长度不一样的二级遍历
lists = [
			['郭敬明','178cm','10cm','10kg'],
			['言承旭','180cm','4xm'],
			['杨刚','160cm']
		]

for i in lists:
	# print(i)
	for j in i:
		print(j)





